
Ext.define('ZO0.store.shipping.UPSRate', {
    extend: 'Ext.data.Store',

    model: 'ZO0.model.shipping.UPSRate',

    pageSize: 15,
    //autoLoad: true,
    autoSync: true,

    proxy: {
        type: 'ajax',
        api: {
            read: 'what?do=ship&ex=selectUpsRate',
            update: 'what?do=ship&ex=updateUpsRate'
        },
        reader: {
            type: 'json',
            root: 'data',
            successProperty: 'success',
            totalProperty: 'total'
        }
    }
});
